package com.education.business.mapper.system;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.education.model.dto.ExamRoomDto;
import com.education.model.entity.ExamRoom;
import com.education.model.subproject.ExamTask;

public interface ExamRoomMapper extends BaseMapper<ExamRoom> {

    Page<ExamRoom> selectAllRoom(Page<ExamRoom> page, ExamRoom examRoom);
    /**
     *
     * @param page
     * @param examRoom
     * @return
     */
    Page<ExamRoomDto> getExamRoomList(Page<ExamRoomDto> page, ExamRoom examRoom);


//    获取未安排的考场
    Page<ExamRoomDto> selectAllNoArrangeRoom(Page<ExamRoomDto> page, ExamRoom examRoom);

}
